package com.example.exjnidemo.exbluetooth01.i;

import android.bluetooth.BluetoothDevice;

public interface ScanBluetoothListener {

    /**
     * 开始扫码
     *
     */
    void startScan();

    /**
     * 结束扫描
     */
    void finishedScan();

    /**
     * 扫描出来的蓝牙设备
     *
     * @param device
     */
    void scanResult(BluetoothDevice device);


    /**
     * 确认配对
     *
     */
    void onConfirmationBond(BluetoothDevice device,boolean isConfirmation);


    /**
     * 正在配对
     */
    void onBonding(BluetoothDevice device);


    /**
     * 已经配对
     */
    void onBonded(BluetoothDevice device);


    /**
     * 取消配对
     *
     * @param device
     */
    void onBondNone(BluetoothDevice device);


}
